package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.Constants;
import com.yixun.qfbao.annotation.TYWValid;

import java.io.Serializable;

/**
 * @author guifang.weng
 * @create 2017-11-23 13:59
 **/
public class GetAreaReqDto implements Serializable {
    private static final long serialVersionUID = -5223734798736386437L;
    /**
     * 城市ID
     */
    @TYWValid(min = 1,max = 20,regModel = Constants.NUMBER)
    private Long areaId;
    /**
	 *名称：登录域名
	 *描述：登录域名
	**/
	@TYWValid(min=0,max=20)
	private String domain;
	
	/**
	 *名称：用户Id
	 *描述：用户Id
	**/
	@TYWValid(min=0,max=20)
	private String userId;
	
	/**
	 * 登录标识
	 * 详情见: LoginTypeEnum
	 * @return
	 */
	@TYWValid(min=1, max=1)
	private String loginType;
	
    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}
}
